<template>
  <n-popover
    style="
      --n-border-radius: 4px;
      --n-box-shadow: 0 28px 50px rgba(25, 24, 40, 0.35);
    "
    class="norem-client-pop"
    content-class="user-popover"
    placement="bottom"
    trigger="hover"
  >
    <template #trigger>
      <div class="norem-down-name">下载App</div>
    </template>
    <div class="norem-pop-dia">
      <img
        class="norem-img"
        src=""
        alt="下载哔哩哔哩"
      />
      <div class="norem-donw-text">
        <span>下载App</span>
      </div>
      <div class="norem-more">
        <span
          class="norem-first-span"
          :style="{ color: themeVars.primaryColor }"
        >
          免费解锁
        </span>
        <span>更多图集</span>
      </div>
    </div>
  </n-popover>
</template>
<script setup lang="ts">
import { useThemeVars } from 'naive-ui'
const themeVars = useThemeVars()
</script>
<style scoped lang="scss">
.norem-down-name {
  color: #333;
  cursor: pointer;
  font-size: 14px;
  padding: 0 15px 0 30px;
  transition: color 0.1s;
  &:hover {
    color: var(--n-color);
  }
}
.norem-pop-dia {
  border-radius: 16px;
  overflow: hidden;
  padding-bottom: 10px;
}
</style>
<style lang="scss">
.norem-client-pop {
  width: 200px;
  //background-color: #fff !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  .norem-img {
    width: 100%;
  }
  .norem-donw-text {
    text-align: center;
  }
  .norem-more {
    text-align: center;
    .norem-first-span {
      color: var(--n-color);
      margin-right: 2px;
    }
  }
}
</style>
